package queue;

public class QueueTest  {
    public static void main(String[] args) {
        Queue<String> q=new Queue<String>();
        q.insert("123");
        q.insert("321");
        q.insert("123312");
        q.insert("13321");
        q.insert("3233");
        for (String s:q){
            System.out.println(s);
        }
        System.out.println("*********************");
        System.out.println(q.remove());
        System.out.println("***");
        for (String s:q){
            System.out.println(s);
        }
        System.out.println("*********************");
        q.insert("insert");

        for (String s:q){
            System.out.println(s);
        }
        System.out.println("*********************");
    }
}
